package com.ruoyi.wm.mapper;

import java.util.List;

import com.ruoyi.wm.domain.WmApparatusInventory;
import com.ruoyi.wm.domain.WmMedicineInventory;
import com.ruoyi.wm.vo.WmApparatusInventoryVo;
import com.ruoyi.wm.vo.WmMedicineInventoryVo;

/**
 * 药品库存清算Mapper接口
 * 
 * @author hpf
 * @date 2021-11-28
 */
public interface WmMedicineInventoryMapper 
{
    /**
     * 查询药品库存清算
     * 
     * @param id 药品库存清算ID
     * @return 药品库存清算
     */
    public WmMedicineInventory selectWmMedicineInventoryById(Long id);

    /**
     * 查询药品库存清算列表
     * 
     * @param wmMedicineInventory 药品库存清算
     * @return 药品库存清算集合
     */
    public List<WmMedicineInventory> selectWmMedicineInventoryList(WmMedicineInventory wmMedicineInventory);

    public List<WmMedicineInventory> selectWmMedicineInventoryListByName(String name);

    WmMedicineInventory selectLatestIndex(String name);

    /**
     * 新增药品库存清算
     *
     * @param wmMedicineInventory 药品库存清算
     * @return 结果
     */
    public int insertWmMedicineInventory(WmMedicineInventory wmMedicineInventory);



}
